<?php

namespace App\Common\Traits\Tools;

trait StringToolTrait
{
    public function searchSpecialChars($string){
        if(str_contains($string,'%')){
            $string=str_replace('%','\%',$string);
        }
        return $string;
    }


}
